{% load i18n %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> 
    <title>{% block title %} {% endblock %} &lsaquo; Pjango Admin</title> 

    <link rel='stylesheet' href='{{ ADMIN_MEDIA_URL }}/css/global.dev.css' type='text/css' media='all' />
    <link rel='stylesheet' href='{{ ADMIN_MEDIA_URL }}/css/wp-admin.dev.css' type='text/css' media='all' /> 
    <link rel='stylesheet' href='{{ ADMIN_MEDIA_URL }}/css/colors-fresh.dev.css' type='text/css' media='all' /> 
	<!--[if lte IE 7]>
	<link rel='stylesheet' id='ie-css'  href='{{ ADMIN_MEDIA_URL }}/css/ie.css' type='text/css' media='all' />
	<![endif]--> 
    
    {% block extrastyle %}{% endblock %}
    
    <script type="text/javascript">
        var SITE_URL = '{{ SITE_URL }}';        
    </script>  
    
    <script type='text/javascript' src='{{ ADMIN_MEDIA_URL }}/js/jquery-1.4.2.min.js'></script>
    <script type='text/javascript' src='{{ ADMIN_MEDIA_URL }}/js/common.js'></script>  
    <script type='text/javascript' src='{{ ADMIN_MEDIA_URL }}/js/utils.js'></script>  
    {% block extrahead %}{% endblock %}
</head> 
<body class="wp-admin js  options-general-php"> 

<div id="wpwrap"> 
    <div id="wpcontent"> 
        <div id="wphead"> 
            <img id="header-logo" src="{{ ADMIN_MEDIA_URL }}/img/blank.gif" alt="" width="32" height="32" /> 
			<h1 id="site-heading" > 
			    <a href="{{ SITE_URL }}/" title="Visit Site"> 
			        <span id="site-title">{P}jango Admin</span> 
			    </a> 
			</h1> 
 
 
            <div id="wphead-info"> 
                <div id="user_info"> 
                    ({{ LANGUAGE_CODE }}) 
                    <a href="?lng=tr">{% trans 'Turkish' %}</a>&nbsp;|&nbsp;
                    <a href="?lng=en">{% trans 'English' %}</a>&nbsp;
                    {% trans 'Hello' %} <a href="" title="">{{ user.username }}</a> | 
                    <a href="{{ SITE_URL }}/auth/logout/" title="{% trans 'Log Out' %}">{% trans 'Log Out' %}</a> 
                </div>
                
 
            </div> 
        </div> 
 
        <div id="wpbody"> 
 
        <ul id="adminmenu"> 
            <li class="wp-first-item wp-has-submenu menu-top menu-top-first menu-icon-dashboard menu-top-last" id="menu-dashboard"> 
                <div class='wp-menu-image'><a href='{{ SITE_URL }}/shoppingcart/admin/'><br /></a></div>
                <div class="wp-menu-toggle"><br /></div>
                <a href='{{ SITE_URL }}/admin/' class="wp-first-item wp-has-submenu menu-top menu-top-first menu-icon-dashboard menu-top-last" tabindex="1">{% trans 'Dashboard' %}
                <img src="{{ ADMIN_MEDIA_URL }}/img/ajax_load_2.gif" alt="loading.." id="ajax-loader" width="16" height="16" style="visibility:hidden"/>
                </a> 
                
                <div class='wp-submenu'>
                    <div class='wp-submenu-head'>{% trans 'Dashboard' %}</div>
                    <ul>
                        <li class="wp-first-item"><a href='index.php' class="wp-first-item" tabindex="1">{% trans 'Dashboard' %}</a></li>                       
                    </ul>
                </div>
            </li> 
            
            <li class="wp-menu-separator"><a class="separator" href="#"><br /></a></li>            
             
            <li class="wp-has-submenu {% if admin_menu_current == 'menu_flatpages' %} wp-has-current-submenu wp-menu-open {% endif %} menu-top menu-icon-page menu-top-first" id="menu-flatpages"> 
                <div class='wp-menu-image'><a href='{{ SITE_URL }}/admin/fp/'><br /></a></div>
                <div class="wp-menu-toggle"><br /></div>
                <a href='{{ SITE_URL }}/admin/fp/' class="wp-has-submenu {% if admin_menu_current == 'menu_flatpages' %} wp-has-current-submenu wp-menu-open {% endif %} menu-top menu-icon-post menu-top-first">{% trans 'Flat Pages' %}</a> 
                <div class='wp-submenu'>
                    <div class='wp-submenu-head'>{% trans 'Flat Pages' %}</div>
                    <ul>
                        <li class="wp-first-item {% if admin_submenu_current == 'submenu_pages' %} current {% endif %}"><a href='{{ SITE_URL }}/admin/fp/' class="wp-first-item {% if admin_submenu_current == 'submenu_pages' %} current {% endif %}" tabindex="1">{% trans 'Pages' %}</a></li>
                        <li class="{% if admin_submenu_current == 'submenu_addchange' %} current {% endif %}"><a href='{{ SITE_URL }}/admin/fp/add/' class="{% if admin_submenu_current == 'submenu_addchange' %} current {% endif %}">{% trans 'Add New' %}</a></li>
                    </ul>
                </div>
            </li>

            <li class="wp-has-submenu {% if admin_menu_current == 'menu_news' %} wp-has-current-submenu wp-menu-open {% endif %} menu-top menu-icon-media" id="menu-news"> 
                <div class='wp-menu-image'><a href='{{ SITE_URL }}/admin/news/'><br /></a></div>
                <div class="wp-menu-toggle"><br /></div>
                <a href='{{ SITE_URL }}/admin/news/' class="wp-has-submenu {% if admin_menu_current == 'menu_news' %} wp-has-current-submenu wp-menu-open {% endif %} menu-top menu-icon-media" tabindex="1">{% trans 'News' %}</a> 
                <div class='wp-submenu'>
                    <div class='wp-submenu-head'>{% trans 'News' %}</div>
                    <ul>
                        <li class="wp-first-item {% if admin_submenu_current == 'submenu_news' %} current {% endif %}"><a href='{{ SITE_URL }}/admin/news/' class="wp-first-item {% if admin_submenu_current == 'submenu_news' %} current {% endif %}">{% trans 'News' %}</a></li>
                        <li class="{% if admin_submenu_current == 'submenu_newscategory' %} current {% endif %}"><a href='{{ SITE_URL }}/admin/newscategory/' class="wp-first-item {% if admin_submenu_current == 'submenu_newscategory' %} current {% endif %}">{% trans 'News Category' %}</a></li>                        
                    </ul>
                </div>
            </li>     
            
            <li class="wp-has-submenu {% if admin_menu_current == 'menu_photogallery' %} wp-has-current-submenu wp-menu-open {% endif %} menu-top menu-icon-media" id="menu-photogallery"> 
                <div class='wp-menu-image'><a href='{{ SITE_URL }}/admin/photogallery/galleries/'><br /></a></div>
                <div class="wp-menu-toggle"><br /></div>
                <a href='{{ SITE_URL }}/admin/photogallery/galleries/' class="wp-has-submenu {% if admin_menu_current == 'menu_photogallery' %} wp-has-current-submenu wp-menu-open {% endif %} menu-top menu-icon-media" tabindex="1">{% trans 'Photo Gallery' %}</a> 
                <div class='wp-submenu'>
                    <div class='wp-submenu-head'>{% trans 'Photo Gallery' %}</div>
                    <ul>
                        <li class="wp-first-item {% if admin_submenu_current == 'submenu_galleries' %} current {% endif %}"><a href='{{ SITE_URL }}/admin/photogallery/galleries/' class="wp-first-item {% if admin_submenu_current == 'submenu_galleries' %} current {% endif %}">{% trans 'Galleries' %}</a></li>
                        <li class="{% if admin_submenu_current == 'submenu_photos' %} current {% endif %}"><a href='{{ SITE_URL }}/admin/photogallery/photos/' class="wp-first-item {% if admin_submenu_current == 'submenu_photos' %} current {% endif %}">{% trans 'Photos' %}</a></li>                        
                    </ul>
                </div>
            </li>              
            
            <li class="wp-has-submenu {% if admin_menu_current == 'menu_shoppingcart' %} wp-has-current-submenu wp-menu-open {% endif %} menu-top menu-icon-post menu-top-last" id="menu-shoppingcart"> 
                <div class='wp-menu-image'><a href='{{ SITE_URL }}/admin/shoppingcart/products/'><br /></a></div>
                <div class="wp-menu-toggle"><br /></div>
                <a href='{{ SITE_URL }}/admin/shoppingcart/products/' class="wp-has-submenu {% if admin_menu_current == 'menu_shoppingcart' %} wp-has-current-submenu wp-menu-open {% endif %} menu-top menu-icon-post menu-top-last" tabindex="1">{% trans 'Shopping Cart' %}</a> 
                <div class='wp-submenu'>
                    <div class='wp-submenu-head'>{% trans 'Shopping Cart' %}</div>
                    <ul>
                        <li class="wp-first-item {% if admin_submenu_current == 'submenu_productcategories' %} current {% endif %}"><a href='{{ SITE_URL }}/admin/shoppingcart/productcategories/' class="wp-first-item {% if admin_submenu_current == 'submenu_productcategories' %} current {% endif %}">{% trans 'Product Categories' %}</a></li>
                        <li class="{% if admin_submenu_current == 'submenu_products' %} current {% endif %}"><a href='{{ SITE_URL }}/admin/shoppingcart/products/' class="wp-first-item {% if admin_submenu_current == 'submenu_products' %} current {% endif %}">{% trans 'Products' %}</a></li>                        
                    </ul>
                </div>
            </li>                   

      
            
            <li class="wp-menu-separator"><a class="separator" href="#"><br /></a></li>
            

            



            <li class="wp-has-submenu {% if admin_menu_current == 'menu_settings' %} wp-has-current-submenu wp-menu-open {% endif %} menu-top menu-icon-settings menu-top-last" id="menu-settings"> 
                <div class='wp-menu-image'><a href='{{ SITE_URL }}/admin/settings/'><br /></a></div>
                <div class="wp-menu-toggle"><br /></div>
                <a href='{{ SITE_URL }}/admin/settings/' class="wp-has-submenu menu-top menu-icon-settings menu-top-last">{% trans 'Settings' %}</a> 
                <div class='wp-submenu'>
                    <div class='wp-submenu-head'>{% trans 'Settings' %}</div>
                    <ul>
                        {% for category_item in settings_category %}
                        <li class="{% if loop.first %}wp-first-item{% endif %} {% if admin_submenu_current == category_item.category %} current {% endif %}""><a href='{{ SITE_URL }}/admin/settings/{{ category_item.category }}/' class="{% if loop.first %}wp-first-item{% endif %}">{{ category_item.category }}</a></li>
                        {% endfor %}
                    </ul>
                </div>
            </li> 
            <li class="wp-menu-separator-last"><a class="separator" href="#"><br /></a></li>
        </ul> 
 
        <div id="wpbody-content">             
            <div id="screen-meta"> 
                <div id="contextual-help-wrap" class="hidden"> 
                    <div class="metabox-prefs"></div> 
                </div> 
 
                <div id="screen-meta-links"> 
                    <div id="contextual-help-link-wrap" class="hide-if-no-js screen-meta-toggle"> 
                        <a href="#contextual-help" id="contextual-help-link" class="show-settings">Help</a> 
                    </div> 
                </div> 
            </div> 
            
            
                
            
            {% get_messages %}
            {% block content %}{% endblock %}
            
            <div class="clear"></div>
        </div><!-- wpbody-content -->
        
        <div class="clear"></div>
    </div><!-- wpbody -->
    <div class="clear"></div>
</div><!-- wpcontent --> 
</div><!-- wpwrap --> 
 
<div id="footer"> 
<p id="footer-left" class="alignleft">-</p> 
<p id="footer-upgrade" class="alignright">-</p> 
<div class="clear"></div> 
</div> 

</body> 
</html> 